package helpers;

import java.util.List;

public class RolePermissionHelper {
	public static List<String> getRole100(List<String> roles) {
		roles.add("*");
		return roles;
	}
	
	public static List<String> getRole200(List<String> roles) {
		roles.add("/admin/deal/manage/*");			
		return roles;
	}
	
	public static List<String> getRole201(List<String> roles) {
		roles.add("/admin/process-deal");
		roles.add("/admin/deal/edit");			
		return roles;
	}
	
	public static List<String> getRole202(List<String> roles) {
		roles.add("/admin/deal/list");
		return roles;
	}
	
	public static List<String> getRole203(List<String> roles) {
		roles.add("/admin/deal/edit");
		roles.add("/admin/process-deal");
		return roles;
	}
	
	public static List<String> getRole205(List<String> roles) {
		roles.add("/admin/deal/add");
		return roles;
	}
	
	public static List<String> getRole206(List<String> roles) {
		roles.add("/admin/ads/right");
		return roles;
	}
	
	public static List<String> getRole207(List<String> roles) {
		roles.add("/admin/ads/right");
		roles.add("/admin/ads/*");
		roles.add("/admin/process-deal");		
		return roles;
	}
	
	public static List<String> getRole300(List<String> roles) {
		roles.add("/admin/order/list/*");
		roles.add("/admin/order/edit");
		return roles;
	}	

	public static List<String> getRole301(List<String> roles) {
		roles.add("/admin/order/list/*");
		roles.add("/admin/order/edit");
		roles.add("/admin/process-order");		
		return roles;
	}

	public static List<String> getRole311(List<String> roles) {
		roles.add("/admin/sell/direct/*");		
		roles.add("/admin/process-order");	
		return roles;
	}
	
	public static List<String> getRole320(List<String> roles) {
		roles.add("/export-excel");		
		roles.add("/admin/sales/profit");	
		return roles;
	}
	
	public static List<String> getRole330(List<String> roles) {
		roles.add("/export-excel");		
		roles.add("/admin/sales/profit-detail");				
		return roles;
	}
	
	public static List<String> getRole340(List<String> roles) {
		roles.add("/export-excel");		
		roles.add("/admin/sales/profit-by-saler");				
		return roles;
	}
	
	public static List<String> getRole400(List<String> roles) {
		roles.add("/admin/store-item/add/*");
		return roles;
	}
	
	public static List<String> getRole401(List<String> roles) {
		roles.add("/admin/store-item/edit/*");
		return roles;
	}
	
	public static List<String> getRole402(List<String> roles) {
		roles.add("/admin/store-item/list/*");
		return roles;
	}
	
	public static List<String> getRole410(List<String> roles) {
		roles.add("/admin/transaction/list/*");
		return roles;
	}
	
	public static List<String> getRole420(List<String> roles) {
		roles.add("/admin/store-item/export");
		return roles;
	}
	
	public static List<String> getRole421(List<String> roles) {
		roles.add("/admin/store-item/export/*");
		return roles;
	}

	public static List<String> getRole422(List<String> roles) {
		roles.add("/admin/store-item/import");
		return roles;
	}
	
	public static List<String> getRole423(List<String> roles) {
		roles.add("/admin/store-item/import/*");
		return roles;
	}	
	
	public static List<String> getRole500(List<String> roles) {
		roles.add("/admin/route/list");
		return roles;
	}
	
	public static List<String> getRole501(List<String> roles) {
		roles.add("/admin/route/edit/*");
		roles.add("/admin/route/delete/*");
		return roles;
	}
	
	public static List<String> getRole503(List<String> roles) {
		roles.add("/admin/route/add");
		return roles;
	}
	
	public static List<String> getRole505(List<String> roles) {
		roles.add("/admin/coordina/add/*");
		return roles;
	}
	
	public static List<String> getRole506(List<String> roles) {
		roles.add("/admin/coordina/list/*");
		roles.add("/admin/coordina/view/*");
		return roles;
	}
	
	public static List<String> getRole507(List<String> roles) {
		roles.add("/admin/coordina/specify/*");
		return roles;
	}
	
	public static List<String> getRole521(List<String> roles) {
		roles.add("/admin/coordina/return/*");
		return roles;
	}

	public static List<String> getRole600(List<String> roles) {
		roles.add("/admin/dealsemail/list");
		return roles;
	}
	
	public static List<String> getRole601(List<String> roles) {
		roles.add("/admin/dealsemail/sendemail/*");
		roles.add("/admin/dealsemail/delete/*");
		return roles;
	}
	
	public static List<String> getRole603(List<String> roles) {
		roles.add("/admin/dealsemail/create");
		return roles;
	}
	
	public static List<String> getRole604(List<String> roles) {
		roles.add("/admin/statistic/*");
		return roles;
	}
	
	public static List<String> getRole620(List<String> roles) {
		roles.add("/admin/email/list");
		return roles;
	}
	
	public static List<String> getRole621(List<String> roles) {
		roles.add("/admin/email/delete/*");
		roles.add("/admin/email/process");
		return roles;
	}
	
	public static List<String> getRole623(List<String> roles) {
		roles.add("/admin/email/import");
		return roles;
	}
	
	public static List<String> getRole625(List<String> roles) {
		roles.add("/admin/email/export");
		return roles;
	}
	
	public static List<String> getRole700(List<String> roles) {
		roles.add("/admin/coordina/accounting/");
		return roles;
	}
	
	public static List<String> getRole701(List<String> roles) {
		roles.add("/admin/coordina/accounting/*");
		return roles;
	}
	
	public static List<String> getRole710(List<String> roles) {
		roles.add("/admin/delivery-salary/*");
		return roles;
	}
	
	public static List<String> getRole800(List<String> roles) {
		roles.add("/admin/cooperation/list");
		roles.add("/admin/cooperation/read/*");
		return roles;
	}
	
	public static List<String> getRole801(List<String> roles) {
		roles.add("/admin/cooperation/delete/*");
		return roles;
	}
	
	public static List<String> getRole810(List<String> roles) {
		roles.add("/admin/geo/list");
		return roles;
	}
	
	public static List<String> getRole811(List<String> roles) {
		roles.add("/admin/geo/edit/*");
		roles.add("/admin/geo/delete/*");
		roles.add("/admin/geo/process");
		return roles;
	}
	
	public static List<String> getRole813(List<String> roles) {
		roles.add("/admin/geo/add");
		return roles;
	}
	
	public static List<String> getRole830(List<String> roles) {
		roles.add("/admin/category/list");
		return roles;
	}
	
	public static List<String> getRole831(List<String> roles) {
		roles.add("/admin/category/edit/*");
		roles.add("/admin/category/delete/*");
		roles.add("/admin/category/process");
		return roles;
	}
	
	public static List<String> getRole833(List<String> roles) {
		roles.add("/admin/category/add");
		return roles;
	}
	
	public static List<String> getRole900(List<String> roles) {
		roles.add("/admin/staff/list");
		return roles;
	}
	
	public static List<String> getRole901(List<String> roles) {
		roles.add("/admin/staff/edit/*");
		roles.add("/admin/staff/delete/*");
		roles.add("/admin/staff/process");
		return roles;
	}
	
	public static List<String> getRole903(List<String> roles) {
		roles.add("/admin/staff/add");
		return roles;
	}
	
	public static List<String> getRole920(List<String> roles) {
		roles.add("/admin/user/list");
		return roles;
	}
	
	public static List<String> getRole921(List<String> roles) {
		roles.add("/admin/user/process");
		return roles;
	}
	
	public static List<String> getRole941(List<String> roles) {
		roles.add("/admin/config/site/form_site");
		return roles;
	}
	
	public static List<String> getRole943(List<String> roles) {
		roles.add("/admin/config/site/layout");
		return roles;
	}
	
	public static List<String> getRole961(List<String> roles) {
		roles.add("/admin/page/*");
		return roles;
	}
	
	public static List<String> getRole991(List<String> roles) {
		roles.add("/admin/system/permission");
		return roles;
	}
	
	public static List<String> getRole999(List<String> roles) {
		roles.add("");
		return roles;
	}
}
